home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: [Q]: Very Long Integer Library
- Date: 14 Mar 1996 07:57:02 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4i9fkeINN8bk@keats.ugrad.cs.ubc.ca>
- References: <5DA85A3CDF@iis.nsk.su> <4i7fnl$9v9@linux.cpsc.ucalgary.ca>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
- Keywords: long integers GCC
-
- In article <4i7fnl$9v9@linux.cpsc.ucalgary.ca>,
- David Taylor <davidt@cpsc.ucalgary.ca> wrote:
- >In article <5DA85A3CDF@iis.nsk.su>, <EPG@iis.nsk.su> wrote:
- >>Hi all!
- >>
- >>Please please help me to find Very Long Integer Library (source) for
- >>C++. I'd be grateful if you can advise me any places in the Internet.
- >>
- >>Sincerely, Pavel.
- >
- >This might help: GCC/G++ has a type "long long int" built in that is
- >twice as large as an int (64-bits on most computers). All arithmetic
- >operations are supported. Should be in DJGPP and EMX for DOS and
- >OS/2, too.
-
- It probably doesn't help. The "long long" is not a standard type in the
- C language, but a gratuitous extension.
-
- It is also far, far from being a ``very large integer''. He probably wants
- a multi-precision integer library suitable for representing numbers in the
- hundreds of (decimal) digits.
-
- I think there is such a GNU library. There is one inside PGP called MPILIB,
- which is optimized for speed, and is fairly well tested by all the
- people who use PGP (outside of the US, anyway).
- --
-
-